package com.prs.crm.service.cdxh;

import java.io.File;
import java.io.Serializable;

import com.prs.crm.domain.cdxh.Cdstock;
import com.prs.crm.service.BaseService;

public interface CdstockService extends BaseService<Cdstock>{
	void saveOrUpdate(Cdstock cdstock);
	public Cdstock getCdstockById(Serializable id);
	void submitCdstock(Cdstock cdstock,File file,String fileName);
	
	/**
	 * 根据产品编号和产品名称
	 * @param productCode
	 * @param productName
	 * @return
	 */
	Cdstock getCdstock(String productCode,String productName);
	/**
	 * 
	 * @param cdStock
	 */
	void   saveOrStock(Cdstock  cdStock);
}
